<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
    <script type="text/javascript">
        window.onload = function() {
            if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
                window.webkit.messageHandlers.closeWebview.postMessage('');
            } else if (/(Android)/i.test(navigator.userAgent)) {
                window.android.closeWebview('');
            }
        }
    </script>
</body></html>
